package sketch.metapost;

public class MPColor implements MPObject {

	public static final MPColor BLACK = new MPColor(1, Color.black);

	public static final MPColor WHITE = new MPColor(1, Color.white);

	private double scale;

	private Color color;

	public static enum Color { blue, red, black, white };

	public MPColor(double s, Color c) {
		scale = s;
		color = c;
	}

	public String getCode() {
		return "(" + scale + "*" + color.toString() + ")";
	}
}
